package com.logistics.modules.sys.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.logistics.common.utils.PageUtils;
import com.logistics.modules.sys.entity.FreightcalculaterulesEntity;
import com.logistics.modules.transportationManagement.entity.CargoEntity;
import com.logistics.modules.transportationManagement.entity.ClientorderEntity;

import java.util.Map;

/**
 * 
 *
 * @author HURRICANE
 * @email HURRICANE@nb.com
 * @date 2022-05-06 16:47:20
 */
public interface FreightcalculaterulesService extends IService<FreightcalculaterulesEntity> {

    PageUtils queryPage(Map<String, Object> params);


    Double calculateTheShippingCostAccordingToTheGoods(CargoEntity cargo, ClientorderEntity clientorderEntity);

    void insertByOne(FreightcalculaterulesEntity freightcalculaterules);
}

